package org.weixin4j.miniprogram.model.pay;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * Create by Yang on 2021/6/2
 */
@XmlRootElement(name = "root")
public class ApplyRefundNotifyRootResult {

    private String transaction_id;               //微信支付订单号
    private String out_trade_no;                 //商户订单号
    private String refund_id;                    //微信退款单号
    private String out_refund_no;                //商户退款单号
    private String total_fee;                    //订单金额
    private String settlement_total_fee;         //应结订单金额
    private String refund_fee;                   //申请退款金额
    private String settlement_refund_fee;        //退款金额
    private String refund_status;                //退款状态
    private int success_time;                    //退款成功时间
    private String refund_recv_accout;           //退款入账账户
    private int refund_account;                  //退款资金来源
    private String refund_request_source;        //退款发起来源

    public String getTransaction_id() {
        return transaction_id;
    }

    @XmlElement(name = "transaction_id")
    public void setTransaction_id(String transaction_id) {
        this.transaction_id = transaction_id;
    }

    public String getOut_trade_no() {
        return out_trade_no;
    }

    @XmlElement(name = "out_trade_no")
    public void setOut_trade_no(String out_trade_no) {
        this.out_trade_no = out_trade_no;
    }

    public String getRefund_id() {
        return refund_id;
    }

    @XmlElement(name = "refund_id")
    public void setRefund_id(String refund_id) {
        this.refund_id = refund_id;
    }

    public String getOut_refund_no() {
        return out_refund_no;
    }
    @XmlElement(name = "out_refund_no")
    public void setOut_refund_no(String out_refund_no) {
        this.out_refund_no = out_refund_no;
    }

    public String getTotal_fee() {
        return total_fee;
    }
    @XmlElement(name = "total_fee")
    public void setTotal_fee(String total_fee) {
        this.total_fee = total_fee;
    }

    public String getSettlement_total_fee() {
        return settlement_total_fee;
    }
    @XmlElement(name = "settlement_total_fee")
    public void setSettlement_total_fee(String settlement_total_fee) {
        this.settlement_total_fee = settlement_total_fee;
    }

    public String getRefund_fee() {
        return refund_fee;
    }
    @XmlElement(name = "refund_fee")
    public void setRefund_fee(String refund_fee) {
        this.refund_fee = refund_fee;
    }

    public String getSettlement_refund_fee() {
        return settlement_refund_fee;
    }
    @XmlElement(name = "settlement_refund_fee")
    public void setSettlement_refund_fee(String settlement_refund_fee) {
        this.settlement_refund_fee = settlement_refund_fee;
    }

    public String getRefund_status() {
        return refund_status;
    }
    @XmlElement(name = "refund_status")
    public void setRefund_status(String refund_status) {
        this.refund_status = refund_status;
    }

    public int getSuccess_time() {
        return success_time;
    }
    @XmlElement(name = "success_time")
    public void setSuccess_time(int success_time) {
        this.success_time = success_time;
    }

    public String getRefund_recv_accout() {
        return refund_recv_accout;
    }
    @XmlElement(name = "refund_recv_accout")
    public void setRefund_recv_accout(String refund_recv_accout) {
        this.refund_recv_accout = refund_recv_accout;
    }

    public int getRefund_account() {
        return refund_account;
    }
    @XmlElement(name = "refund_account")
    public void setRefund_account(int refund_account) {
        this.refund_account = refund_account;
    }

    public String getRefund_request_source() {
        return refund_request_source;
    }
    @XmlElement(name = "refund_request_source")
    public void setRefund_request_source(String refund_request_source) {
        this.refund_request_source = refund_request_source;
    }


    @Override
    public String toString() {
        return "ApplyRefundNotifyRootResult{" +
                "transaction_id='" + transaction_id + '\'' +
                ", out_trade_no='" + out_trade_no + '\'' +
                ", refund_id='" + refund_id + '\'' +
                ", out_refund_no='" + out_refund_no + '\'' +
                ", total_fee='" + total_fee + '\'' +
                ", settlement_total_fee='" + settlement_total_fee + '\'' +
                ", refund_fee='" + refund_fee + '\'' +
                ", settlement_refund_fee='" + settlement_refund_fee + '\'' +
                ", refund_status='" + refund_status + '\'' +
                ", success_time=" + success_time +
                ", refund_recv_accout='" + refund_recv_accout + '\'' +
                ", refund_account=" + refund_account +
                ", refund_request_source='" + refund_request_source + '\'' +
                '}';
    }
}
